package com.spreadk.demo.entity;

/**
 * @author:Gan Linghao
 * @date:2021/4/18
 * @time:15:19
 * @description: 学生类 --- > student表
 */
public class Student {

    /**
     * 主键
     */
    private Integer sid;

    /**
     *
     */
    private String sname;

    private String gender;

    private Integer classId;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", gender='" + gender + '\'' +
                ", classId=" + classId +
                '}';
    }
}
